<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt"%>

<table id="listVehicleGroupList" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<td class="rvimscheckbox"><input type="checkbox" onclick="selectAllForList('listVehicleGroupList')"></td>
			<td>名称</td>
			<td>优先级</td>
			<td>操作</td>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${listVehicleGroup.results}" var="vehicleGroup">
			<tr id="objId_${vehicleGroup.id }">
				<td><input type="checkbox" name="vehicleGroupIds" value="<c:out value='${vehicleGroup.id}'/>" /></td>
				<td><c:out value="${vehicleGroup.groupname}"/></td>
				<td><c:out value="${vehicleGroup.grouppriority}" /></td>
				<td class="rvimsoperation">
					<a href="javascript:ajaxShowVehicleGroupView('${vehicleGroup.id}')" title="详细信息"><span class="ui-icon ui-icon-document"></span></a> 
					<a href="javascript:ajaxShowVehicleGroupEdit('${vehicleGroup.id}')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a> 
					<a href="javascript:ajaxDeleteVehicleGroupById('${vehicleGroup.id}')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
				</td>
			</tr>
		</c:forEach>
	</tbody>
</table>
<div id="rvimsPaginationPanel"></div>
<div id="dialog2"></div>
<script type="text/javascript">
	setTableCSS("listVehicleGroupList");
	setPagination("rvimsPaginationPanel","${listVehicleGroup.pagination.totalPages}","${listVehicleGroup.pagination.currentPage}","${listVehicleGroup.pagination.pageSize}","${listVehicleGroup.pagination.totalRows}",ajaxFindVehicleGroupSearchList);
</script>